Fully Qualified Name: | Laminas\Mail\Header\HeaderName |
Name | Description | Defined By |
---|---|---|
assertValid() | Assert that the header name is valid. | HeaderName |
filter() | Filter the header name according to RFC 2822 | HeaderName |
isValid() | Determine if the header name contains any invalid characters. | HeaderName |
Assert that the header name is valid.
Raises an exception if invalid.
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: void
Filter the header name according to RFC 2822
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: string
Determine if the header name contains any invalid characters.
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: bool